package org.wysaid.nativePort;

/**
 * Created by xingliao_zgl on 16/7/23.
 */
public class FilterProcessLibrary {

    static {
        System.loadLibrary("xlffmpeg");
        System.loadLibrary("ffmpeg_filter");
    }

    protected native int _transcoding(String inputPath, String filter, String outputPath);
    protected native int _transcoding_only(String inputPath, String outputPath);

    public int transcoding(String inputPath, String filter, String outputPath) {
        return _transcoding(inputPath, filter, outputPath);
    }

    public int transcodingOnly(String inputPath, String outputPath) {
        return _transcoding_only(inputPath, outputPath);
    }


}
